package com.stylefeng.guns.common.constant.bean;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;

import java.math.BigDecimal;

/**
 * 人员信息，积分信息
 */
@ExcelTarget("empPointPojo")
public class EmpPointPojo {

    @Excel(name = "姓名")
    private String empName;

    @Excel(name = "处/室")
    private String placeName;

    @Excel(name = "部门(单位）")
    private String deptName;

    @Excel(name = "班组")
    private String teamName;

    @Excel(name = "岗位类别")
    private String postType;

    @Excel(name = "竞赛调考积分")
    private double contestPoints;

    @Excel(name = "周期兼职培训师积分")
    private double cycleAuthenPoints;

    @Excel(name = "学历提升积分")
    private double degreeTrainPoints;

    @Excel(name = "专家人才积分")
    private double expertTalentsPoints;

    @Excel(name = "脱产培训积分")
    private double fulltimeTrainPoints;

    @Excel(name = "师带徒积分")
    private double mentoringRelationPoints;

    @Excel(name = "网络培训积分")
    private double networkTrainPoints;

    @Excel(name = "项目兼职培训师积分")
    private double projectAuthenPoints;

    @Excel(name = "职业资格积分")
    private double proqualifyTrainPoints;

    @Excel(name = "执业资格积分")
    private double practicePoints;

    @Excel(name = "技术资格积分")
    private double protechTrainPoints;

    @Excel(name = "认证兼职培训师积分")
    private double trainerAuthenPoints;

    @Excel(name = "优秀兼职培训师积分")
    private double trainerExcellentPoints;

    @Excel(name = "培训项目开发积分")
    private double trainProgramPoints;

    @Excel(name = "年度")
    private String year;

    /**
     * 模块积分json
     */
    private String modularPonit;
    /**
     * 总积分
     */
    @Excel(name="总积分")
    private BigDecimal totalPoint;


    public double getPracticePoints() {
        return practicePoints;
    }

    public void setPracticePoints(double practicePoints) {
        this.practicePoints = practicePoints;
    }

    public double getContestPoints() {
        return contestPoints;
    }

    public void setContestPoints(double contestPoints) {
        this.contestPoints = contestPoints;
    }

    public double getCycleAuthenPoints() {
        return cycleAuthenPoints;
    }

    public void setCycleAuthenPoints(double cycleAuthenPoints) {
        this.cycleAuthenPoints = cycleAuthenPoints;
    }

    public double getDegreeTrainPoints() {
        return degreeTrainPoints;
    }

    public void setDegreeTrainPoints(double degreeTrainPoints) {
        this.degreeTrainPoints = degreeTrainPoints;
    }

    public double getExpertTalentsPoints() {
        return expertTalentsPoints;
    }

    public void setExpertTalentsPoints(double expertTalentsPoints) {
        this.expertTalentsPoints = expertTalentsPoints;
    }

    public double getFulltimeTrainPoints() {
        return fulltimeTrainPoints;
    }

    public void setFulltimeTrainPoints(double fulltimeTrainPoints) {
        this.fulltimeTrainPoints = fulltimeTrainPoints;
    }

    public double getMentoringRelationPoints() {
        return mentoringRelationPoints;
    }

    public void setMentoringRelationPoints(double mentoringRelationPoints) {
        this.mentoringRelationPoints = mentoringRelationPoints;
    }

    public double getNetworkTrainPoints() {
        return networkTrainPoints;
    }

    public void setNetworkTrainPoints(double networkTrainPoints) {
        this.networkTrainPoints = networkTrainPoints;
    }

    public double getProjectAuthenPoints() {
        return projectAuthenPoints;
    }

    public void setProjectAuthenPoints(double projectAuthenPoints) {
        this.projectAuthenPoints = projectAuthenPoints;
    }

    public double getProqualifyTrainPoints() {
        return proqualifyTrainPoints;
    }

    public void setProqualifyTrainPoints(double proqualifyTrainPoints) {
        this.proqualifyTrainPoints = proqualifyTrainPoints;
    }

    public double getProtechTrainPoints() {
        return protechTrainPoints;
    }

    public void setProtechTrainPoints(double protechTrainPoints) {
        this.protechTrainPoints = protechTrainPoints;
    }

    public double getTrainerAuthenPoints() {
        return trainerAuthenPoints;
    }

    public void setTrainerAuthenPoints(double trainerAuthenPoints) {
        this.trainerAuthenPoints = trainerAuthenPoints;
    }

    public double getTrainerExcellentPoints() {
        return trainerExcellentPoints;
    }

    public void setTrainerExcellentPoints(double trainerExcellentPoints) {
        this.trainerExcellentPoints = trainerExcellentPoints;
    }

    public double getTrainProgramPoints() {
        return trainProgramPoints;
    }

    public void setTrainProgramPoints(double trainProgramPoints) {
        this.trainProgramPoints = trainProgramPoints;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public String getPlaceName() {
        return placeName;
    }

    public void setPlaceName(String placeName) {
        this.placeName = placeName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getTeamName() {
        return teamName;
    }

    public void setTeamName(String teamName) {
        this.teamName = teamName;
    }

    public String getPostType() {
        return postType;
    }

    public void setPostType(String postType) {
        this.postType = postType;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getModularPonit() {
        return modularPonit;
    }

    public void setModularPonit(String modularPonit) {
        this.modularPonit = modularPonit;
    }

    public BigDecimal getTotalPoint() {
        return totalPoint;
    }

    public void setTotalPoint(BigDecimal totalPoint) {
        this.totalPoint = totalPoint;
    }

    /**
     * 更新积分类型值
     * @param pointTypePojo
     */
    public void updatePointType(PointTypePojo pointTypePojo){
        setContestPoints(pointTypePojo.getContestPoints());
        setCycleAuthenPoints(pointTypePojo.getCycleAuthenPoints());
        setDegreeTrainPoints(pointTypePojo.getDegreeTrainPoints());
        setExpertTalentsPoints(pointTypePojo.getExpertTalentsPoints());
        setFulltimeTrainPoints(pointTypePojo.getFulltimeTrainPoints());
        setMentoringRelationPoints(pointTypePojo.getMentoringRelationPoints());
        setNetworkTrainPoints(pointTypePojo.getNetworkTrainPoints());
        setProjectAuthenPoints(pointTypePojo.getProjectAuthenPoints());
        setProqualifyTrainPoints(pointTypePojo.getProqualifyTrainPoints());
        setProtechTrainPoints(pointTypePojo.getProtechTrainPoints());
        setTrainerAuthenPoints(pointTypePojo.getTrainerAuthenPoints());
        setTrainerExcellentPoints(pointTypePojo.getTrainerExcellentPoints());
        setTrainProgramPoints(pointTypePojo.getTrainProgramPoints());
        setPracticePoints(pointTypePojo.getPracticePoints());
    }
}
